/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/ccjzxyxt">ccjzxyxt</a> All rights reserved.
 */
package cn.net.dckj.modules.biz.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import cn.net.dckj.common.persistence.DataEntity;

/**
 * 课表信息Entity
 * @author xzy
 * @version 2019-04-15
 */
public class BizSchoolTimetable extends DataEntity<BizSchoolTimetable> {
	private static final long serialVersionUID = 1L;

	private String schoolyear;		// 学年
	private String term;			// 学期
	private String weekend;			// 学周结束，字典[学周]
	private String weekstart;		// 学周开始，字典[学周]
	private String section;			// 课节(第几节课)，字典[课节]
	private String coursename;		// 课程名称
	private String teacherid;		// 上课教师id
	private String teachername;		// 上课教师名称
	private String classid;			// 上课班级id
	private String classname;		// 上课班级名称
	private String address;			// 上课教室地点

	public BizSchoolTimetable() {
		super();
	}

	public BizSchoolTimetable(String id){
		super(id);
	}

	@Length(min=0, max=255, message="上课教师地点长度必须介于 0 和 255 之间")
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	
	@Length(min=0, max=100, message="上课班级id长度必须介于 0 和 100 之间")
	public String getClassid() {
		return classid;
	}

	public void setClassid(String classid) {
		this.classid = classid;
	}
	
	@Length(min=0, max=100, message="上课班级名称长度必须介于 0 和 100 之间")
	public String getClassname() {
		return classname;
	}

	public void setClassname(String classname) {
		this.classname = classname;
	}
	
	@Length(min=0, max=100, message="课程名称长度必须介于 0 和 100 之间")
	public String getCoursename() {
		return coursename;
	}

	public void setCoursename(String coursename) {
		this.coursename = coursename;
	}

	public String getSchoolyear() {
		return schoolyear;
	}

	public void setSchoolyear(String schoolyear) {
		this.schoolyear = schoolyear;
	}
	
	@Length(min=0, max=20, message="课节(第几节课)，字典[课节]长度必须介于 0 和 20 之间")
	public String getSection() {
		return section;
	}

	public void setSection(String section) {
		this.section = section;
	}
	
	@Length(min=0, max=100, message="上课教师id长度必须介于 0 和 100 之间")
	public String getTeacherid() {
		return teacherid;
	}

	public void setTeacherid(String teacherid) {
		this.teacherid = teacherid;
	}
	
	@Length(min=0, max=100, message="上课教师名称长度必须介于 0 和 100 之间")
	public String getTeachername() {
		return teachername;
	}

	public void setTeachername(String teachername) {
		this.teachername = teachername;
	}
	
	@Length(min=0, max=20, message="学期长度必须介于 0 和 20 之间")
	public String getTerm() {
		return term;
	}

	public void setTerm(String term) {
		this.term = term;
	}
	
	@Length(min=0, max=20, message="学周结束，字典[学周]长度必须介于 0 和 20 之间")
	public String getWeekend() {
		return weekend;
	}

	public void setWeekend(String weekend) {
		this.weekend = weekend;
	}
	
	@Length(min=0, max=20, message="学周开始，字典[学周]长度必须介于 0 和 20 之间")
	public String getWeekstart() {
		return weekstart;
	}

	public void setWeekstart(String weekstart) {
		this.weekstart = weekstart;
	}
	
}